package com.woniuxy.common.enums;

// 枚举：用户状态
public enum UserStatus {
    INACTIVE(0, "未激活"),
    ACTIVE(1, "激活"),
    BLOCKED(2, "锁定");

    private Integer key;  // 状态码
    private String value; // 状态信息

    UserStatus(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}
